package hsl.study.utils;


import org.springframework.ai.tool.annotation.Tool;

/**
 * @Description:
 * @Author: hsl
 * @CreateDate: 2025/8/4 11:57
 * @Version: 1.0
 */


public class DateTimeTools {

    @Tool(description = "获取当前时间", returnDirect = false)
    public String getCurrentTime() {
        return "当前时间是：" + java.time.LocalDateTime.now();
    }
}
